package com.qf.java2201.service.impl;

import com.qf.java2201.dao.TypeDao;
import com.qf.java2201.dao.impl.TypeDaoImpl;
import com.qf.java2201.pojo.HType;
import com.qf.java2201.service.TypeService;

import java.util.List;

/**
 * @date 2022/4/9
 * @desc
 */
public class TypeServiceImpl implements TypeService {

    TypeDao typeDao =  new TypeDaoImpl();

    @Override
    public List<HType> findListByTgroup(int tgroup) {



        return typeDao.findListByTgroup(tgroup);
    }

    @Override
    public List<HType> findAllTypes() {
        return typeDao.findAllTypes();
    }
}
